package fr.uniscol.model;

import java.io.Serializable;
import java.util.ArrayList;
import java.util.List;

public class MEF implements Serializable {

	private long id = 0;
	
	private String codeSiecle = null;
	
	private String libelleCourt = null;
	
	private String libelleLong = null;
	
	private List<ProgrammeMEF> programmes = null;

	public long getId() {
		return id;
	}

	public void setId(long id) {
		this.id = id;
	}

	public String getCodeSiecle() {
		return codeSiecle;
	}

	public void setCodeSiecle(String codeSiecle) {
		this.codeSiecle = codeSiecle;
	}

	public String getLibelleCourt() {
		if(libelleCourt == null){
			libelleCourt = "";
		}
		return libelleCourt;
	}

	public void setLibelleCourt(String libelleCourt) {
		this.libelleCourt = libelleCourt;
	}

	public String getLibelleLong() {
		if(libelleLong == null){
			libelleLong = "";
		}
		return libelleLong;
	}

	public void setLibelleLong(String libelleLong) {
		this.libelleLong = libelleLong;
	}

	public List<ProgrammeMEF> getProgrammes() {
		if(programmes == null){
			programmes = new ArrayList<ProgrammeMEF>();
		}
		return programmes;
	}

	public void setProgrammes(List<ProgrammeMEF> programmes) {
		this.programmes = programmes;
	}
}
